import request from 'utils/request';
/**
 * 登录
 */
export function loginApi(data) {
  return request({
    url: '/v1_0/authorizations',
    method: 'post',
    data,
  });
}
/**
 * 获取用户信息
 */
export function getUserInfoApi() {
  return request({
    url: '/v1_0/user/profile',
  });
}
